package fr.afcepf.ticketing.service;

import java.util.Collection;
import java.util.Date;
import java.util.List;

import fr.afcepf.ticketing.domain.Address;
import fr.afcepf.ticketing.domain.CreditCard;
import fr.afcepf.ticketing.domain.Customer;
import fr.afcepf.ticketing.domain.Order;
import fr.afcepf.ticketing.domain.OrderLine;

public interface OrderService {

	public Order getOrderByPk(Integer numero);

	public void updateOrder(Order order);

	public void deleteOrder(int numero);

	public Collection<Order> getOrdersOfClient(Long numCli);

	public Collection<Order> getAllOrders();

	public Collection<OrderLine> editOrderLineByOrder(Integer num);
	
	public Order createNewOrder(Customer c, Address ad, CreditCard cb, List<CartTicket> ct);
	
	public List<OrderLine> listOrderLines(List<CartTicket> cartTickets);
	
	public Collection<Order> getOrdersOfClient(Long long1, Date date);

}
